package com.bao.mapper;

import com.bao.bean.User;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * Created by baojunhu on 2017/3/28.
 */
@Mapper
public interface UserMapper {

    /**
     * 查询列表
     * @return
     */
    List<User> getList();

    User getUserByID(Integer id);

}
